how to make start pattern with python